<template>
  <div class="box">
    <el-tabs v-model="activeName">
      <el-tab-pane :label="title"
                   name="one">
        <div class="content">
          <slot />
        </div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
export default {
  name: "SimpleTab",
  data () {
    return {
      activeName: "one"
    };
  },
  props: {
    title: {
      type: String,
      default: "货物信息"
    }
  },
  computed: {}
};
</script>

<style scoped>
.box {
  padding: 10px 20px;
  background-color: var(--prev-bg-white);
}
.content {
  padding: 12px 0 0 0;
}
.box >>> .is-active {
  font-size: 18px !important;
  color: var(--prev-color-text-ashes);
}
.box >>> .el-tabs__active-bar {
  height: 3px !important;
  left: 0px !important;
}
.box >>> .el-tabs__nav-wrap::after {
  height: 3px !important;
}
.box >>> .el-tabs__item {
  height: 45px !important;
}
</style>
